import Vue, {createApp, useAttrs} from 'vue'
import App from './App.vue'
import router from "@/router";
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'


import axios from 'axios'
import store from "@/store";
// @ts-ignore
import imageLabel from '@/utils/ImageLabel';

const app = createApp(App)
app.use(router);
app.use(ElementPlus);
app.use(store);
app.use(imageLabel);


axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
app.config.globalProperties.$axios = axios;

app.mount('#app')
